﻿using System;
using RpcModel;
using Wedonek.RpcStore.Service.Model;

namespace Wedonek.RpcStore.Service.Interface
{
    public interface IResourceShieldCollect
    {
        ResourceShield Get(long id);
        long Add(ResourceShield shield);
        Guid[] CheckIsShieId(Guid[] resourceId);
        ResourceShield Get(Guid resourceId);
        void SetBeOverdueTime(ResourceShield shield, DateTime? beOverdueTime);
        void Delete(ResourceShield shield);
        ResourceShield[] Query(ShieIdQueryParam query, IBasicPage paging, out long count);
    }
}